/**
 * Created by li on 2017/2/22.
 */

var g = {
    isLoad: false,
    storage: window.localStorage,

    gameRes: {
        money: 0

    },

    //6~8 power xiaohuolong
    //4~5 health miaomazhongzi
    //2~3 agile pikaqiu
    //0~1 brains jienigui
    choseValue:0,

    upStairMenuTag: 101,
    downStairMenuTag: 102,
    upHeroBtnTag: 103,
    downHeroBtnTag: 103,


    weapon_li_Type: 0,
    weapon_zhi_Type: 1,
    protectionSuitType: 2,
    shoeType: 3,
    name:"",
    names:[
        "霜之哀伤",
        "七色逆鳞",
        "逆境悲伤",
    ],


    str1:"很久很久以前，在这片深林中生活着各种各样安和的动物，" +
    "突然有一天，天上飞过来一个不明飞船，与此同时，动物们都变得狂暴起来，为了查明原因，一位英雄毅然决然的踏上了旅途",
    str2:"这位英雄，请问你叫神马名字",
    str3:"原来是"+"xx"+"大侠，久仰久仰",

    str4:"请问你有什么爱好",
    answer4_1:"读读书",
    answer4_2:"看动漫",
    answer4_3:"打篮球",

    //
    str41:"你喜欢下面的哪本书",
    answer41_1:"三国演义",
    answer41_2:"三体",
    answer41_3:"冰与火之歌",

    str42:"你喜欢下面的什么动漫",
    answer42_1:"火影忍者",
    answer42_2:"海贼王",
    answer42_3:"龙珠",

    str43:"你认为哪届新秀为史上最强",
    answer43_1:"1984年",
    answer43_2:"1996年",
    answer43_3:"2003年",

    str411:"你喜欢下面哪个人物",
    answer411_1:"诸葛亮",
    answer411_2:"赵云",
    answer411_3:"关羽",
    str412:"你喜欢下面哪个人物",
    answer412_1:"程心",
    answer412_2:"章北海",
    answer412_3:"罗辑",
    str413:"你喜欢下面哪个人物",
    answer413_1:"小指头",
    answer413_2:"龙妈",
    answer413_3:"罗柏",

    //
    str421:"你喜欢下面哪个人物",
    answer421_1:"鹿丸",
    answer421_2:"我爱罗",
    answer421_3:"鸣人",
    str422:"你喜欢下面哪个人物",
    answer422_1:"罗宾",
    answer422_2:"山治",
    answer422_3:"路飞",
    str423:"你喜欢下面哪个人物",
    answer423_1:"比克",
    answer423_2:"克林",
    answer423_3:"卡卡罗特",

    str431:"你喜欢下面哪个人物",
    answer431_1:"奥拉朱旺",
    answer431_2:"乔丹",
    answer431_3:"巴克利",
    str432:"你喜欢下面哪个人物",
    answer432_1:"艾弗森",
    answer432_2:"科比",
    answer432_3:"纳什",
    str433:"你喜欢下面哪个人物",
    answer433_1:"韦德",
    answer433_2:"詹姆斯",
    answer433_3:"霍华德",

    str5:"你真的准备好战斗了吗",
    answer5_1:"我再想想",
    answer5_2:"还没有",
    answer5_3:"是的",

    strShop:"这位客官，走过路过不要错过，本店都是物美价廉，货真价实的",

    strTitle:"三体入侵"

};

var weaponArray = [
    {
        type: g.weapon_li_Type,
        name: "mujian",
        cost: 100,
        needLevel: 1,//hero level >= needLevel ,it will sell, if hero level - needLevel > 5,it will be sold out
        icon:res.autoAck2_png,
        value: 5
    },
    {
        type: g.weapon_zhi_Type,
        name: "muzhang",
        cost: 100,
        needLevel: 1,
        value: 5

    },


];
var protectionSuitArray = [
    {
        type: g.protectionSuitType,
        name: "mujia",
        cost: 200,
        needLevel: 1,
        value: 2
    },
];
var shoeArray = [
    {
        type: g.shoeType,
        name: "muxie",
        cost: 100,
        needLevel: 1,
        value: 1
    }
]